package net.huashitong.supervision.task.entity;

import com.sirdc.modules.core.entity.StringEntity;
import com.sirdc.modules.utils.StringUtils;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 * User: ling
 * Date: 2019/8/6
 * Time: 17:20
 * To change this template use File | Settings | File Templates.
 * Description:单位接收任务表
 */
@Entity
@Table(name = "t_task_unit")
public class TaskUnit extends StringEntity {
    private String taskMainId;  //主任务id
    private String taskMainName; //主任务名
    private String taskSubId;   //子任务id
    private String taskSubName;   //子任务名
    private String deptId;      //单位id
    private String userId; //单位任务接收人userID;
    private String deptName;    //单位名称
    private String timeLimit;   //任务时限
    private String type;        //任务状态(0.待签收,1待反馈,2已反馈,3退回,4完成 。5已签收)
    private String innerBack;   //单位内部是否有反馈（0无,1有）
    private String comment;     //任务评价
    private String score;       //任务得分
    private String overdueDay;  //逾期天数
    private String backNum;    //退回重办次数
    private String unitType;    //单位类型 (1牵头2协办)
    private String status;      //( 0，待审批 1，审批为通过 2通过正常  10逾期）
    private String state;       //区分是否待办0待办   1在办
    private String timeType;  //时限类型（1.单时限，2.周期性，3多时限）
    private String period;   //周期（1.周，2 月 3季度）
    private String week;      //周期的星期
    private String month;      //周期的月
    private String quarter;      //周期的季度
    private String timeLimits; //多时限字符串
    private String timeRound;   //周期轮次
    private String del;   //删除标识（当字段有值时表示任务一删除）
    private String categoryId;  //分类id
    private String endTime;
    private int sort;



    public TaskUnit() {
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getBackNum() {
        return backNum;
    }

    public void setBackNum(String backNum) {
        this.backNum = backNum;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getDel() {
        return del;
    }

    public void setDel(String del) {
        this.del = del;
    }

    public String getTimeRound() {
        return timeRound;
    }

    public void setTimeRound(String timeRound) {
        this.timeRound = timeRound;
    }

    public String getQuarter() {
        return quarter;
    }

    public void setQuarter(String quarter) {
        this.quarter = quarter;
    }

    public String getTimeType() {
        return timeType;
    }

    public void setTimeType(String timeType) {
        this.timeType = timeType;
    }

    public String getPeriod() {
        return period;
    }

    public void setPeriod(String period) {
        this.period = period;
    }

    public String getWeek() {
        return week;
    }

    public void setWeek(String week) {
        this.week = week;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getTimeLimits() {
        return timeLimits;
    }

    public void setTimeLimits(String timeLimits) {
        this.timeLimits = timeLimits;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getInnerBack() {
        return innerBack;
    }

    public void setInnerBack(String innerBack) {
        this.innerBack = innerBack;
    }

    public String getTaskMainName() {
        return taskMainName;
    }

    public void setTaskMainName(String taskMainName) {
        this.taskMainName = taskMainName;
    }

    public String getTaskSubName() {
        return taskSubName;
    }

    public void setTaskSubName(String taskSubName) {
        this.taskSubName = taskSubName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTaskMainId() {
        return taskMainId;
    }

    public void setTaskMainId(String taskMainId) {
        this.taskMainId = taskMainId;
    }

    public String getTaskSubId() {
        return taskSubId;
    }

    public void setTaskSubId(String taskSubId) {
        this.taskSubId = taskSubId;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getTimeLimit() {
        return timeLimit;
    }

    public void setTimeLimit(String timeLimit) {
        this.timeLimit = timeLimit;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getOverdueDay() {
        return overdueDay;
    }

    public void setOverdueDay(String overdueDay) {
        this.overdueDay = overdueDay;
    }

    public String getUnitType() {
        return unitType;
    }

    public void setUnitType(String unitType) {
        this.unitType = unitType;
    }
}
